use "$path\datasets\child_care_shortages_states.dta", clear

separate primary_betreung_shortage, by(code == "BAY")


graph bar  primary_betreung_shortage0 primary_betreung_shortage1 , over(code, label(angle(45)) sort(primary_betreung_shortage)) ytitle(Share of parents / primary school)  note("Source:  DJI-Kinderbetreuungsreport 2018") blabel(total,format(%9.0f)) bargap(0)  bar(1 ,color(navy)) ylabel(0(5)35)  legend(off) ylab(,angle(horizontal))  nofill

graph export FigureA4/figureA4c.pdf, replace













